@extends('wap/layout/master')
@section('title')
    发现
@stop
@section('style')
    <style type="text/css">
        body {
            margin: 0;
            padding: 0;
            background:rgba(245,245,245,1);
        }
        .container {
            background: #fff;
            padding: 10px 20px;
            margin-bottom: 10px;
        }
        .header {
            text-align: left;
            font-size: 30px;
            margin: 20px 0;
        }
        .banner {

        }
        .nav {
            margin: 10px 4% 0 4%;
            display: flex;
            display: -webkit-flex;
            flex-direction: row;
            padding: 10px 0;
        }
        .nav-box {
            width: 50%;
            text-align: center;
        }
        .nav-box a {
            background-size: contain;
            margin-top: 1vw;
            text-decoration: none;
            color: #272F3B;
            font-size:16px;
            line-height: 35px;
            display: flex;
            display: -webkit-flex;
            flex-direction: row;
        }
        .nav-box a span img {
            display: block;
            width: 35px;
            margin-right:10px;
        }
        .nav-box a span {
            display: block;
        }
        .con-title {
            color: #272F3B;
            font-size: 18px;
        }
        .article {

        }
        .article .item {
            display: flex;
            display: -webkit-flex;
            flex-direction: row;
            margin: 20px 0;
            border-bottom:1px solid #E8E9ED;
            padding-bottom: 20px;
        }
        .item .img {
            width: 30%;
        }
        .item .img img {
            width: 100%;
            display: block;
        }
        .item .con h3 {
            color: #272F3B;
            font-size: 16px;
            margin: 0;
            padding: 0;
        }
        .item .con h3 a {
            color: #272F3B;
            text-decoration: none;
        }
        .item .con {
            margin-left: 10px;
            position: relative;
        }
        .item .label-on {
            position: absolute;
            left: 0;
            bottom: 0;
            border: 1px solid #007AFF;
            color: #007AFF;
            font-size: 10px;
            padding: 1px 3px;
        }
        .item .label-off {
            position: absolute;
            left: 0;
            bottom: 0;
            border: 1px solid #C5C8D1;
            color: #C5C8D1;
            font-size: 10px;
            padding: 1px 3px;
        }
    </style>
@stop
@section('content')
    <div class="container">
        <div class="header">发现</div>
        <div class="banner">
            <img src="/v2/img/find.png" style="width: 100%; display: block;">
        </div>
        <div class="nav">
            <div class="nav-box">
                <a class="wz" href="http://weixin.checar.cn/weixin/carinfo/checarInfoAction.action?agencyId=''&mid=''">
                    <span><img src="/html/find/img/icon-weizhang.png"></span>
                    <span>违章查询</span>
                </a>
            </div>
            <div class="nav-box">
                <a class="jyz" href="redirect://oilcard:8888/station ">
                    <span><img src="/html/find/img/icon-jiayouzhan.png"></span>
                    <span>附近加油站</span>
                </a>
            </div>
        </div>
    </div>
    <div class="container">
        <div class="con-title">惠友福利</div>
        <div class="article">
            {{--@foreach ($activities as $article)
            <div class="item">
                <div class="img">
                    <a href="/app/activity/{{$article->id}}" ><img src="{{$article->image_url}}" style="width: 100%"></a>
                </div>
                <div class="con">
                    <h3><a href="/app/activity/{{$article->id}}" >{{$article->title}}</a></h3>
                    @if ($article->status == 1)
                        <span class="label-on">{{$article->status_name}}</span>
                        @endif
                    @if ($article->status == 2)
                        <span class="label-off">{{$article->status_name}}</span>
                    @endif
                </div>
            </div>
            @endforeach--}}
            <div class="item">
                <div class="img">
                    <a href="/app/share"><img src="/v2/img/article-img.png"></a>
                </div>
                <div class="con">
                    <h3><a href="/app/share">邀请有礼，多邀多得</a></h3>
                    <span class="label-on">进行中</span>
                </div>
            </div>
            <div class="item">
                <div class="img">
                    <img src="/v2/img/article-img2.png">
                </div>
                <div class="con">
                    <h3>双十一任性购，红包送不停</h3>
                    <span class="label-off">已结束</span>
                </div>
            </div>
            <div class="item">
                <div class="img">
                    <img src="/v2/img/article-img3.png">
                </div>
                <div class="con">
                    <h3>国庆出游季</h3>
                    <span class="label-off">已结束</span>
                </div>
            </div>
            <div class="item">
                <div class="img">
                    <img src="/v2/img/article-img4.png">
                </div>
                <div class="con">
                    <h3>加油惠陪你过中秋</h3>
                    <span class="label-off">已结束</span>
                </div>
            </div>
        </div>
    </div>
@stop
@section('javascript')

@stop